home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 769 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.4 KB  |  43 lines

  1. Path: chronicle.mti.sgi.com!austern
  2. From: "Ron Burk" <RonBurk@msn.com>
  3. Newsgroups: comp.std.c++
  4. Subject: Forward declaration of class member functions
  5. Date: 18 Mar 1996 14:58:21 PST
  6. Organization: -
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <UPMAIL07.199603182248040068@msn.com>
  9. NNTP-Posting-Host: isolde.mti.sgi.com
  10. X-Original-Date: Mon, 18 Mar 96 22:51:28 UT
  11. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  12.     iQBVAwUBMU3qnky4NqrwXLNJAQExQgIAj4KU8lS4DuDAhNCu3AwCUZkS8+Xsig6h
  13.     17cl41t44/lleGM4kKlhOIBM0xxuEBATcwDrF0zatMpMK0/z+RmitQ==
  14.     =i+qZ
  15. Originator: austern@isolde.mti.sgi.com
  16.  
  17. I am having difficulty finding language in the draft
  18. that establishes the legality or illegality of the following:
  19.  
  20. class Forward;
  21.  
  22. class Any {
  23.     friend int Forward::SomeFunc(int SomeArg);
  24.     };
  25.  
  26. It certainly seems like a useful construct, and I don't
  27. see any impossibility in implementing it, but I don't
  28. have a compiler that accepts it (in fact, the Borland C++ v5.0
  29. beta gets an internal compiler error on it). Can anyone
  30. point me to relevant language in the draft that resolves
  31. this question?
  32.  
  33.  Thanks,
  34.  Ron Burk
  35.  Windows Developer's Journal
  36. ---
  37. [ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
  38.                 newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  39.   comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  40.   Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  41.   Comments? mailto:std-c++-request@ncar.ucar.edu 
  42. ]
  43.